/*
 * TMap Designer - A Thematic Map design software
 * Copyright (C) 2006 World Health Organization
 * http://www.who.int
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
package who.tmap.bo.impl;

import java.util.List;

import who.tmap.bo.BaseMap;
import who.tmap.toolkit.shape.MapShape;


public class BaseMapImpl extends BaseBizObjectImpl implements BaseMap {

    private List<MapShape> shapes;
    private int dbaseJoinIdx;
    private double minX, minY, maxX, maxY;
    
    BaseMapImpl() {
    	super();
    }

    /**
     * @return Returns the shapes.
     */
    public List<MapShape> getShapes() {
        return shapes;
    }
    
    /**
     * @param shapes The shapes to set.
     */
    public void setShapes(List<MapShape> shapes) {
        this.shapes = shapes;
    }    
    
    public int getDbaseJoinIdx() {
		return dbaseJoinIdx;
	}

	public void setDbaseJoinIdx(int dbaseJoinIdx) {
		this.dbaseJoinIdx = dbaseJoinIdx;
	}

	/**
     * @return Returns the maxX.
     */
    public double getMaxX() {
        return maxX;
    }
    
    /**
     * @param maxX The maxX to set.
     */
    public void setMaxX(double maxX) {
        this.maxX = maxX;
    }
    
    /**
     * @return Returns the maxY.
     */
    public double getMaxY() {
        return maxY;
    }
    
    /**
     * @param maxY The maxY to set.
     */
    public void setMaxY(double maxY) {
        this.maxY = maxY;
    }
    
    /**
     * @return Returns the minX.
     */
    public double getMinX() {
        return minX;
    }
    
    /**
     * @param minX The minX to set.
     */
    public void setMinX(double minX) {
        this.minX = minX;
    }
    
    /**
     * @return Returns the minY.
     */
    public double getMinY() {
        return minY;
    }
    
    /**
     * @param minY The minY to set.
     */
    public void setMinY(double minY) {
        this.minY = minY;
    }
}
